package be.rivendale.renderer.mk2.data;

public class RenderInformation {
    private int horizontalCameraResolution;
    private int verticalCameraResolution;

    private Scene scene = new Scene();

    public RenderInformation() {
        setCameraResolution(1080/4);
    }

    public Scene getScene() {
        return scene;
    }

    private void setCameraResolution(int verticalCameraResolution) {
        this.horizontalCameraResolution = (int)(verticalCameraResolution * scene.getCamera().aspectRatio());
        this.verticalCameraResolution = verticalCameraResolution;
    }

    public int getHorizontalCameraResolution() {
        return horizontalCameraResolution;
    }

    public int getVerticalCameraResolution() {
        return verticalCameraResolution;
    }
}
